package com.smile.service.lmp;

import com.smile.mapper.OssMapper;
import com.smile.mapper.UserMapper;
import com.smile.pojo.Course;
import com.smile.pojo.Oss;
import com.smile.pojo.User;
import com.smile.service.OssService;
import com.smile.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OssServiceImpl implements OssService {
    @Autowired
    private OssMapper ossMapper;

    @Override
    public List<Oss> queryOssList() {
        return ossMapper.queryOssList();
    }

    @Override
    public List<Course> queryCourseList(Integer ossId) {
        return ossMapper.queryCourseList( ossId);
    }


}
